package com.mindai.esper.monitor.persistence.auto.mapper;

import com.mindai.common.dao.BaseDaoMybatis;
import com.mindai.esper.monitor.persistence.auto.model.EsperAlarmThreshold;
import com.mindai.esper.monitor.persistence.auto.model.EsperAlarmThresholdExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface EsperAlarmThresholdMapper extends BaseDaoMybatis {
    int countByExample(EsperAlarmThresholdExample example);

    int deleteByExample(EsperAlarmThresholdExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(EsperAlarmThreshold record);

    int insertSelective(EsperAlarmThreshold record);

    List<EsperAlarmThreshold> selectByExampleWithRowbounds(EsperAlarmThresholdExample example, RowBounds rowBounds);

    List<EsperAlarmThreshold> selectByExample(EsperAlarmThresholdExample example);

    EsperAlarmThreshold selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") EsperAlarmThreshold record, @Param("example") EsperAlarmThresholdExample example);

    int updateByExample(@Param("record") EsperAlarmThreshold record, @Param("example") EsperAlarmThresholdExample example);

    int updateByPrimaryKeySelective(EsperAlarmThreshold record);

    int updateByPrimaryKey(EsperAlarmThreshold record);
}